<?php
// +----------------------------------------------------------------------
// | CatchAdmin [Just Like ～ ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~{$year} http://catchadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
// +----------------------------------------------------------------------
// | Author: JaguarJack [ njphper@gmail.com ]
// +----------------------------------------------------------------------

// you should use `$router`
/* @var think\Route $router */

$router->group(function () use ($router){

})->middleware('auth');

$router->post('jmj/addjmj', '\catchAdmin\info\controller\Jmj@index');   // 提交添加节目集
$router->get('jmj/getjmjlist', '\catchAdmin\info\controller\Jmj@getJmjList');  // 返回节目集列表
$router->get('jmj/getlist', '\catchAdmin\info\controller\Jmj@getlist');  //获取节目集列表 返回添加木的 下拉菜单
$router->get('jmj/getlistbyid', '\catchAdmin\info\controller\Jmj@getlistbyid');  //根据ID查询节目集

$router->get('jm/jmlist', '\catchAdmin\info\controller\Jm@index');  //节目列表 分页 +  查询
$router->post('jm/addinfo', '\catchAdmin\info\controller\Jm@add');  //节目列表 分页 +  查询

$router->get('getinfo', '\catchAdmin\info\controller\Jm@getinfo');  //节目列表 分页 +  查询
$router->get('jmj/delby', '\catchAdmin\info\controller\Jmj@del');  //节目集删除
$router->get('jm/delby', '\catchAdmin\info\controller\Jm@del');  //节目集删除

